<?php
header('Content-Type: text/xml');
print "<?xml version='1.0' encoding='ISO-8859-1'?>";
print "<response><update>";
if ($error == true) print "failed";
else print "completed";
print "</update><msg>" . htmlspecialchars($msg) . "</msg></response>";
?>
